import request from '@/utils/request'

// 获取密码策略
export function getpwdrule() {
  return request({
    url: '/system/syspwdrule/getpwdrule',
    method: 'post'
  })
}

// 保存密码策略
export function savepwdrule(data) {
  return request({
    url: '/system/syspwdrule/savepwdrule',
    method: 'post',
    data: data
  })
}
